package online.shenme.day06;

public class ThrowTest {
    public static void main(String[] args) {
        int[] arr=new int[10];
        try {
            show(arr);
        }
        catch (RuntimeException e){
            e.printStackTrace();
            System.out.println(e.toString());
        }
        System.out.println("123");

    }

    private static void show(int[] arr) {
        for (int i = 0; i <= arr.length; i++) {
            System.out.println(arr[i]);
        }
        System.out.println("333");
    }
}
